package operands;

import instructions.Instruction;

public class ImmediateOperand extends Operand
{
	public ImmediateOperand(int value) 
	{
		super(value);
	}

	@Override 
	public int resolve()
	{
		return value;
	}

	@Override
	public Operand copy() 
	{
		return new ImmediateOperand(value);
	}

	@Override
	public Instruction resolveInstruction() {
		return this.instruction;
	}
}
